Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-3_40] Fix freeze on long indexation for snapping on intersections #59498

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

qgis-bot
Copy link
Collaborator

Backport #59259
Authored by: @Djedouas

If snap on intersections is enabled, this specific edge search with the
locator was not in relaxed mode, whereas the standard snapping is
happening in relaxed mode.

As a result, trying to use the snapping during the first indexation was
freezing QGIS while the indexation is happening, waiting for it to end.

On a layer where the indexation is longer than the timeout (30sec, i.e.
a WFS layer as in issue #51179), the locator stops abruptly and resets
itself, crashing the indexation and QGIS.
@github-actions github-actions bot added this to the 3.40.1 milestone Nov 19, 2024
Copy link

github-actions bot commented Nov 19, 2024

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 55f2f3e)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 55f2f3e)

@nyalldawson nyalldawson merged commit f3f1f2c into release-3_40 Nov 29, 2024
33 checks passed
@nyalldawson nyalldawson deleted the backport-59259-to-release-3_40 branch November 29, 2024 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants